updated some codes

14/06/2013