You need to tell us what errors you might be seeing, else how can we know how to help you? Also please read up on using
tags so your code retains its formatting and is readable.

--- Update ---...