updating arraya in homepage